﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using System.Web.DynamicData;
using NotAClue.Web.DynamicData;

namespace DD_Extensions.DynamicData.FieldTemplates
{
    public partial class DateField : System.Web.DynamicData.FieldTemplateUserControl
    {
        protected void Page_Init(object sender, EventArgs e)
        {
            // add tool-tip
            this.SetupTip();

            // add CSS from meta data
            this.ApplyCss();
        }

        protected override void OnDataBinding(EventArgs e)
        {
            base.OnDataBinding(e);
            var c = Column.Name;
            var b = FieldValueString;
        }

        public override Control DataControl
        {
            get { return Literal1; }
        }
    }
}
